const exprss=require('express');
const userRouter=require('./routes/userRouter.js');
const logger=require('morgan');
const app=exprss();
app.use(exprss.urlencoded({'limit':'10mb','extended':true}));
app.use(logger('dev'));
app.use(exprss.static(__dirname+"/pubic"));
app.use('/',userRouter)
app.listen(8888 ,function(){
console.log('aaaa');
})